<div id="maincontent">

<%= render :partial => "shared_common_files/data_area_help_bar" %>

     		 <div class="sharelink"><a href="/user/list">List of the Users</a></div>
			<h2>User > New</h2>			
			

  
    <% for name in [:notice, :warning, :message] %>
    <% if flash[name] %>
      <%= "<div class='message-fatal'> #{flash[name]} </div>" %>
    <% end %>
  <% end %>


  <%= error_messages_for 'user' %>


<%= start_form_tag( {:action => 'new'}, {:class => 'appform'}) %>

<div class="req"><b>*</b>Required Information </div>

<fieldset>

<h3>Create New User</h3>

      <%= render_partial 'edit', :user => @user, :submit => false %>
      <%= render_partial 'password', :submit => false %>

      <div class="f-submit-wrap">
        <%= image_submit_tag "/themes/odotclassic/images/btn_createuser.gif", :alt => 'Create', :border => 0 %>
        <%= link_to image_tag('/themes/odotclassic/images/btn_cancel.gif', :alt => 'Cancel'),  :action => 'list'%>
      </div>
      <%= hidden_field 'user', 'organization_id', :value => params['cid'] %>

</fieldset>

<%= end_form_tag %>
</div>



